public class BaseClass {
    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        Class clz = Class.forName("Person");
        Object obj = clz.newInstance();
        System.out.println(obj);
    }
}
